package edu.sctu.zhoumengxue.day201506.day20150602;

import java.text.ParseException;

/**
 * Created by user12 on 2015/6/2.
 */
public class RunMain {

    public static void main(String[] args) throws ParseException {
//
///*偷东西*/
//        Monitor monitor = new Monitor();
//        monitor.is_Thief();
///*时间差*/
//        CountTime countTime = new CountTime();
//        System.out.println(countTime.setTime("2015-6-4 11:23:11", "2015-6-6 20:26:51"));
/*买票，出站*/
//        PeopleAppbean people = new SetPeopleData().SetPeopleData().get(0);
//        if(people.isHas_card(true)){
//            if(new BagDeth(people, ban).checkBag()){
//                System.out.println("包裹有违禁物品");
//            }else {
//                if(new BagDeth(people, ban).checkWater()){
//                    System.out.println("水有问题");
//                }else {
//
//                    if(people.getPrice()>2){
//                        System.out.println("进站");
//                    }else {
//                        new CardDeth(setTrianData.SetTrianData()).setPrice(10,people);
//                        System.out.println("充值成功");
//                    }
//                    if(people.getPrice()>=new CardDeth(setTrianData.SetTrianData()).getPrice(people.getStart(),people.getEnd())){
//                        System.out.println("出站，余额为："+(people.getPrice()-new CardDeth(setTrianData.SetTrianData()).getPrice(people.getStart(),people.getEnd())));
//                    }else {
//                        new CardDeth(setTrianData.SetTrianData()).setPrice(10,people);
//                        System.out.println("充值成功");
//                    }
//                }
//            }
//        }else {
//            System.out.println("买票");
//            if(new BagDeth(people, ban).checkBag()){
//                System.out.println("包裹中有违禁物品");
//            }else {
//                if(new BagDeth(people, ban).checkWater()){
//                    System.out.println("水有问题");
//                }else {
//                    System.out.println("出站");
//                }
//            }
//        }

  }
}
